package no.somenvm.dreamplanners

import org.bukkit.entity.Player
import org.bukkit.event.player.PlayerJoinEvent
import priv.seventeen.artist.dreampainter.api.DreamPainterScreenAPI
import priv.seventeen.artist.dreampainter.event.ClientCustomPacketEvent
import taboolib.common.platform.event.SubscribeEvent
import taboolib.common.platform.function.submitAsync

object OnListener {


    private fun update(player: Player) {

    }

    @SubscribeEvent
    fun customPacket(e: ClientCustomPacketEvent){
        val player = e.player
        val packet = e.id

    }

//    @SubscribeEvent
//    fun e(e: PlayerSkillBindEvent) {
//        submitAsync {
//            updateSkill(e.player)
//        }
//    }

    private fun updateSkill(player: Player) {
        
    }
}